package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;

/**
 * @author Jerry du
 * @version 1.0
 * @date 2019/12/31 9:56
 */
public interface PermissonService {
    void add(Permission permission);

    PageResult findPage(QueryPageBean pageBean);

    Permission findById(Integer id);

    void edit(Permission permission);

    void del(Integer id) throws Exception;
}
